package com.yuyou.activity.comm.service.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class PayApply implements Serializable {
    /**
     * 主键
     */
    private Long payApplyId;

    /**
     * 商户编号
     */
    private String sysCode;

    /**
     * 项目编号
     */
    private String projectCode;

    /**
     * 业务订单编号
     */
    private String orderId;

    /**
     * 金额（单位分）
     */
    private Long amount;

    /**
     * 订单名称
     */
    private String orderName;

    /**
     * 订单详情
     */
    private String orderContent;

    /**
     * 订单创建时间（毫秒）
     */
    private Long orderCreateTime;

    /**
     * 用户唯一标识
     */
    private String userId;

    /**
     * 支付后返回业务URL，业务接入方不提供returnUrl时跳转到支付中心默认的支付返回页面。
            该字段在传递时最好先进行url encode.
            多次重复送单，returnUrl取最后一次送单的值。
            
     */
    private String returnUrl;

    /**
     * 商户附加信息，可做扩展参数，255 字符内
     */
    private String attach;

    /**
     * 状态：0：初始化，1：支付成功，2：支付失败
     */
    private Integer status;

    /**
     * 集团支付中心订单号
     */
    private String payOrderId;

    /**
     * 收银台Url
     */
    private String counterUrl;

    /**
     * 创建时间
     */
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Long getPayApplyId() {
        return payApplyId;
    }

    public void setPayApplyId(Long payApplyId) {
        this.payApplyId = payApplyId;
    }

    public String getSysCode() {
        return sysCode;
    }

    public void setSysCode(String sysCode) {
        this.sysCode = sysCode;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public String getOrderContent() {
        return orderContent;
    }

    public void setOrderContent(String orderContent) {
        this.orderContent = orderContent;
    }

    public Long getOrderCreateTime() {
        return orderCreateTime;
    }

    public void setOrderCreateTime(Long orderCreateTime) {
        this.orderCreateTime = orderCreateTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getReturnUrl() {
        return returnUrl;
    }

    public void setReturnUrl(String returnUrl) {
        this.returnUrl = returnUrl;
    }

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPayOrderId() {
        return payOrderId;
    }

    public void setPayOrderId(String payOrderId) {
        this.payOrderId = payOrderId;
    }

    public String getCounterUrl() {
        return counterUrl;
    }

    public void setCounterUrl(String counterUrl) {
        this.counterUrl = counterUrl;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}